package com.everflourish.yeah100.http;

import com.everflourish.yeah100.BuildConfig;

public class HttpURL extends HttpBase {

    /**
     * 请求的前部分host+web应用名+remote
     */
//    public String URL_PREFIX = URL_HOST + "/" + WEB_NAME + "/"
//            + CONSUMER;
    public String URL_PREFIX = BuildConfig.BASE_URL;

    /*
    private void setURL_PREFIX() {
        if (BuildConfig.BUILD_TYPE.equals("debug") || BuildConfig.BUILD_TYPE.equals("release")) {
            URL_PREFIX = BuildConfig.BASE_URL;
        } else if (BuildConfig.BUILD_TYPE.equals("dit")) {
            URL_PREFIX = BuildConfig.BASE_URL;
        }
    }*/

    /** 用户注册申请 */
    // public String URL_REGISTER_PHONE =
    // URL_PREFIX+"/register/phone";
    /**
     * 用户注册申请
     */
    public String URL_REGISTER_EMAIL = URL_PREFIX
            + "/user/register";
    /**
     * 注册手机检验短信通知
     */
    public String URL_REGISTER_PHONE = URL_PREFIX
            + "/user/register/phone";
    /**
     * 重新发送邮件
     */
    public String URL_RESEND_MAIL = URL_PREFIX
            + "/user/register/remind";
    /**
     * 获取手机验证码
     */
    public String URL_PHONE_VERIFICATION_CODE = URL_PREFIX
            + "/user/register/phone/request/verificationCode";
    /**
     * 获取修改密码手机验证码
     */
    public String URL_PASSWORD_PHONE_VERIFICATION_CODE = URL_PREFIX
            + "/password/phone/request/verificationCode";
    /**
     * 获取修改密码邮箱验证码
     */
    public String URL_PASSWORD_EMAIL_VERIFICATION_CODE = URL_PREFIX
            + "/password/email/request/verificationCode";
    /**
     * 手机验证修改密码
     */
    public String URL_PASSWORD_CHANGE_PHONE_VERIFICATION_CODE = URL_PREFIX
            + "/password/phone/reset";
    /**
     * 邮箱验证修改密码
     */
    public String URL_PASSWORD_CHANGE_EMAIL_VERIFICATION_CODE = URL_PREFIX
            + "/password/email/reset";
    /**
     * 手机注册验证码验证
     */
    public String URL_VERIFICATION = URL_PREFIX + "/verification";
    /**
     * 班号、学号校验(关联登录)
     */
    public String URL_STUDENT_VERIFICATION = URL_PREFIX
            + "/class/student/verification";
    /**
     * 用户名密码校验(用户登录)
     */
    public String URL_SECURITY_LOGIN = URL_PREFIX
            + "/security_login";
    /**
     * (退出登录)
     */
    public String URL_SECURITY_LOGOUT = URL_PREFIX
            + "/security_logout";
    /**
     * 忘记密码通知(邮箱找回)
     */
    public String URL_LOGIN_EMAIL = URL_PREFIX + "/login/email";
    /**
     * 登陆后首页信息提示
     */
    public String URL_MESSAGE = URL_PREFIX + "/message/get";
    public String URL_NEW_MESSAGE = URL_PREFIX + "/message/new/get";
    /**
     * 消息读取确认
     */
    public String URL_MESSAGE_ACKNOWLEDGE = URL_PREFIX
            + "/message/acknowledge";
    /**
     * 消息删除
     */
    public String URL_MESSAGE_DELETE = URL_PREFIX
            + "/message/delete";

    /**
     * 学生个人考试纪录获取
     */
    public String URL_EXAMINATION_HISTORY_STUDENT = URL_PREFIX
            + "/examination/history/student/list";
    /**
     * 获取科目列表
     */
    public String URL_EXAMINATION_SUBJECT_LIST = URL_PREFIX
            + "/examination/subject/list";
    /**
     * 获取科目列表 （老师身份）
     */
    public String URL_EXAMINATION_TEACHER_SUBJECT_LIST = URL_PREFIX
            + "/examination/teacher/subject/list";
    /**
     * 获取单个考试
     */
    public String URL_EXAMINATION_BY_ID = URL_PREFIX
            + "/examination/get/";
    /**
     * 教师考试纪录获取
     */
    public String URL_EXAMINATION_HISTORY_TEACHER = URL_PREFIX
            + "/examination/history/teacher/list";
    /**
     * 好友个人考试纪录获取
     */
    public String URL_EXAMINATION_HISTORY_FRIEND = URL_PREFIX
            + "/examination/history/friend/list";
    /**
     * 学生考试成绩获取
     */
    public String URL_EXAMINATION_SCORE_STUDENT = URL_PREFIX
            + "/examination/score/student";
    /** 教师考试成绩和错误率获取 */
    // public String URL_EXAMINATION_SCORE_TEACHER =
    // URL_PREFIX+"/examination/score/teacher";
    /**
     * 好友考试成绩和错误率获取
     */
    public String URL_EXAMINATION_SCORE_FRIEND = URL_PREFIX
            + "/examination/score/friend";
    /**
     * 好友客观题错误率获取
     */
    public String URL_EXAMINATION_FAILURERATE_OBJECT_FRIEND = URL_PREFIX
            + "/examination/failureRate/object/friend/statistic";
    /**
     * 好友主观题错误率获取
     */
    public String URL_EXAMINATION_FAILURERATE_SUBJECT_FRIEND = URL_PREFIX
            + "/examination/failureRate/subject/friend/statistic";
    /**
     * 考生考试题目以及答案获取
     */
    public String URL_EXAMINATION_ANSWER_STUDENT = URL_PREFIX
            + "/examination/answer/student/get";
    /**
     * 好友考试题目以及答案获取
     */
    // TODO
    public String URL_EXAMINATION_ANSWER_FRIEND = URL_PREFIX
            + "/？？？？？";
    /**
     * 考试所有学生成绩获取
     */
    public String URL_EXAMINATION_SCORE_LIST = URL_PREFIX
            + "/examination/answer/student/get";
    /**
     * 学生考试信息删除
     */
    public String URL_EXAMINATION_STUDENT_DELETE = URL_PREFIX
            + "/examination/student/delete";
    /**
     * 老师考试信息删除
     */
    public String URL_EXAMINATION_TEACHER_DELETE = URL_PREFIX
            + "/examination/teacher/delete";
    /**
     * 老师发布考试
     */
    public String URL_EXAMINATION_TEACHER_PUBLISH = URL_PREFIX
            + "/examination/publish";
    /**
     * 导出报表
     */
    public String URL_EXAMINATION_TEACHER_EXPORT = URL_PREFIX
            + "/report/export/examination/email";
    /**
     * 教师考试题目获取
     */
    public String URL_EXAMINATION_QUESTION_TEACHER = URL_PREFIX
            + "/examination/question/teacher/get";
    /**
     * 试题某选项学生名单获取
     */
    public String URL_EXAMINATION_QUESTION_LIST_STUDENT = URL_PREFIX
            + "/examination/question/list/student";
    /**
     * 试题所有选项学生个数获取
     */
    public String URL_EXAMINATION_QUESTION_STUDENT_ANSWERS_COUNT = URL_PREFIX
            + "/examination/question/student/answers/count";
    /**
     * 获取学生答案
     */
    public String URL_EXAMINATION_STUDENT_ANSWER = URL_PREFIX
            + "/examination/student/answer/get/";
    /**
     * 统计多次考试成绩
     */
    public String URL_EXAMINATION_SCORE_STATISTIC = URL_PREFIX
            + "/examination/score/statistic";
    /**
     * 获取考试的班级列表
     */
    public String URL_EXAMINATION_CLASS_LIST = URL_PREFIX
            + "/examination/class/list";
    /**
     * 获取考试的的状态
     */
    public String URL_EXAMINATION_CHECK_STATUS = URL_PREFIX
            + "/examination/check/status";
    /**
     * 增加一个专题分析
     */
    public String URL_EXAMINATION_CUSTOMIZED_ADD = URL_PREFIX
            + "/examination/topics/customized/add";
    /**
     * 删除一个专题分析
     */
    public String URL_EXAMINATION_CUSTOMIZED_DETELE = URL_PREFIX
            + "/examination/topics/customized/delete";
    /**
     * 获取专题分析列表
     */
    public String URL_EXAMINATION_CUSTOMIZED_LIST = URL_PREFIX
            + "/examination/topics/customized/list";
    /**
     * 获取专题分析统计信息
     */
    public String URL_EXAMINATION_CUSTOMIZED_STATISTIC = URL_PREFIX
            + "/examination/topics/customized/statistic/get";
    /**
     * 获取题型题号
     */
    public String URL_EXAMINATION_TOPIC_NUMBERS = URL_PREFIX
            + "/examination/topics/numbers";
    /**
     * 版本更新列表
     */
    public String URL_SOFTWARE_VERSION_GET = URL_PREFIX
            + "/software/version/list";
    /**
     * 获取考试的班级分析
     */
    public String URL_EXAMINATION_CLASS_STATISTIC = URL_PREFIX
            + "/examination/score/class/statistic";
    /**
     * 获取老师考试客观题错误率
     */
    public String URL_EXAMINATION_FAILURERATE_OBJECT = URL_PREFIX
            + "/examination/failureRate/object/class/statistic";
    /**
     * 获取老师考试主观题错误率
     */
    public String URL_EXAMINATION_FAILURERATE_SUBJECTIVE = URL_PREFIX
            + "/examination/failureRate/subject/class/statistic";
    /**
     * 获取学生考试客观题错误率
     */
    public String URL_STUDENT_EXAMINATION_FAILURERATE_OBJECT = URL_PREFIX
            + "/examination/failureRate/object/student/statistic";
    /**
     * 获取学生考试主观题错误率
     */
    public String URL_STUDENT_EXAMINATION_FAILURERATE_SUBJECTIVE = URL_PREFIX
            + "/examination/failureRate/subject/student/statistic";

    /**
     * 用户信息获取
     */
    public String URL_USER_GET = URL_PREFIX + "/userSetting/get";
    /**
     * 用户信息更新
     */
    public String URL_USER_UPDATE = URL_PREFIX
            + "/userSetting/update";
    /**
     * 密码修改
     */
    public String URL_USER_PASSWORD = URL_PREFIX
            + "/userSetting/password";
    /**
     * 密码修改
     */
    public String URL_USER_PHONE = URL_PREFIX
            + "/userSetting/update/phoneno";
    /**
     * 密码修改
     */
    public String URL_USER_EMAIL = URL_PREFIX
            + "/userSetting/update/email";
    /**
     * 好友列表获取
     */
    public String URL_USER_FRIEND = URL_PREFIX
            + "/userSetting/friend";
    /**
     * 用户查询
     */
    public String URL_USER_SEARCH = URL_PREFIX
            + "/userSetting/search";
    /**
     * 用户角色登录
     */
    public String URL_USER_ROLE_UPDATE = URL_PREFIX
            + "/userSetting/role/update";
    /**
     * 好友别名修改
     */
    public String URL_USER_FRIEND_NICKNAME = URL_PREFIX
            + "/userSetting/friend/nickname";
    /**
     * 邀请好友
     */
    public String URL_USER_FRIEND_INVITE = URL_PREFIX
            + "/userSetting/friend/invite";
    /**
     * 接受好友邀请
     */
    public String URL_USER_FRIEND_ACCEPT = URL_PREFIX
            + "/userSetting/friend/accept";
    /**
     * 好友删除
     */
    public String URL_USER_FRIEND_DELETE = URL_PREFIX
            + "/userSetting/friend/delete";
    /**
     * 用户信息反馈
     */
    public String URL_USER_feedback = URL_PREFIX
            + "/userSetting/feedback/add";

    /**
     * 老师班级列表获取
     */
    public String URL_TEACHER_CLASS_LIST = URL_PREFIX
            + "/class/list";
    /**
     * 学生班级列表获取
     */
    public String URL_STUDENT_CLASS_LIST = URL_PREFIX
            + "/class/studentClass/list";
    /**
     * 班级信息获取
     */
    public String URL_CLASS_GET = URL_PREFIX + "/class/get";
    /**
     * 创建班级
     */
    public String URL_CLASS_CREATE = URL_PREFIX + "/class/create";
    /**
     * 班级信息保存
     */
    public String URL_CLASS_UPDATE = URL_PREFIX + "/class/update";
    /**
     * 增加学生
     */
    public String URL_CLASS_STUDENT_ADD = URL_PREFIX
            + "/class/student/add";
    /**
     * 删除学生
     */
    public String URL_CLASS_STUDENT_DELETE = URL_PREFIX
            + "/class/student/delete";
    /**
     * 修改学生获取
     */
    public String URL_CLASS_STUDENT_UPDATE = URL_PREFIX
            + "/class/student/update";
    /**
     * 班级学生获取
     */
    public String URL_CLASS_STUDENT_LIST = URL_PREFIX
            + "/class/student/list";
    public String URL_CLASS_STUDENT_NAME = URL_PREFIX
            + "/class/student/validate";
    /**
     * 删除班级
     */
    public String URL_CLASS_DELETE = URL_PREFIX + "/class/delete";
    /**
     * 加入班级
     */
    public String URL_CLASS_STUDENT_JOIN = URL_PREFIX
            + "/class/student/join";
    /**
     * 加入班级2
     */
    public String URL_CLASS_STUDENT_JOIN2 = URL_PREFIX
            + "/class/student/join2";
    /**
     * 退出班级
     */
    public String URL_CLASS_STUDENT_REMOVE = URL_PREFIX
            + "/class/student/remove";
    /**
     * 花名册导入
     */
    public String URL_CLASS_ROSTER = URL_PREFIX + "/class/roster";
    /**
     * 关注班级
     */
    public String URL_CLASS_FOLLOW = URL_PREFIX + "/class/follow";
    /**
     * 取消班级关注
     */
    public String URL_CLASS_UNFOLLOW = URL_PREFIX
            + "/class/unfollow";

    // 题库部分
    /**
     * 新版题目列表（老师）
     */
    public String URL_NEW_QUESTION_TEACHER_LIST = URL_PREFIX
            + "/new/question/teacher/list";
    /**
     * 新版题目图片上传
     */
    public String URL_NEW_QUESTION_UPLOAD = URL_PREFIX
            + "/new/question/image/upload";
    /**
     * 新版题目图片切割
     */
    public String URL_NEW_QUESTION_IMAGE_CUT = URL_PREFIX
            + "/new/question/image/cut";
    /**
     * 新版题目增加图片
     */
    public String URL_NEW_QUESTION_ADD_IMAGE = URL_PREFIX
            + "/new/question/add/image";
    /**
     * 新版题目获取题号
     */
    public String URL_NEW_QUESTION_NOS = URL_PREFIX
            + "/new/question/nos";
    /**
     * 新版删除题目
     */
    public String URL_NEW_QUESTION_UPDATE = URL_PREFIX
            + "/new/question/update";
    /**
     * 新版修改题目
     */
    public String URL_NEW_QUESTION_DELETE = URL_PREFIX
            + "/new/question/delete";
    /**
     * 新版老师标签列表获取
     */
    public String URL_NEW_QUESTION_TAG_LIST = URL_PREFIX
            + "/custom/questionLib/tag/list";
    /**
     * 新版老师删除标签
     */
    public String URL_NEW_QUESTION_TAG_DELETE = URL_PREFIX
            + "/custom/questionLib/tag/delete";
    /**
     * 新版老师修改标签名
     */
    public String URL_NEW_QUESTION_TAG_UPDATE = URL_PREFIX
            + "/custom/questionLib/tag/update";
    /**
     * 新版老师收藏题目
     */
    public String URL_NEW_QUESTION_TEACHER_FARORITE = URL_PREFIX
            + "/custom/questionLib/favorite";
    /**
     * 新版老师取消收藏题目
     */
    public String URL_NEW_QUESTION_TEACHER_UNFARORITE = URL_PREFIX
            + "/custom/questionLib/unfavorite";
    /**
     * 新版老师获取题库下的题目
     */
    public String URL_NEW_QUESTION_TEACHER_TAG_QUESTION = URL_PREFIX
            + "/custom/questionLib/tag/questions";


    /**
     * 个人题库获取（老师）
     */
    public String URL_QUESTIONLIB_LIST = URL_PREFIX
            + "/questionLib/list";
    /**
     * 个人试题获取（老师）
     */
    public String URL_QUESTIONLIB_QUESTION_LIST = URL_PREFIX
            + "/questionLib/question/list";
    /** 个人错题获取（普通） */
    // public String URL_MISTAKE_NOTEBOOK_GET =
    // URL_PREFIX+"/mistakeNotebook/get";
    /**
     * 试题删除（老师）
     */
    public String URL_QUESTIONLIB_QUESTION_DELETE = URL_PREFIX
            + "/questionLib/question/delete";
    /**
     * 试题增加(收藏)（老师）
     */
    public String URL_QUESTIONLIB_QUESTION_ADD = URL_PREFIX
            + "/questionLib/question/add";
    /**
     * 试题标签修改（老师）
     */
    public String URL_QUESTIONLIB_QUESTION_UPDATE = URL_PREFIX
            + "/questionLib/question/update";
    /**
     * 题库删除(老师)
     */
    public String URL_QUESTIONLIB_DELETE = URL_PREFIX
            + "/questionLib/delete";
    /**
     * 题库标签修改(老师)
     */
    public String URL_QUESTIONLIB_TAG_UPDATE = URL_PREFIX
            + "/questionLib/tag/update";
    /**
     * 修改题库信息
     */
    public String URL_QUESTIONLIB_UPDATE = URL_PREFIX
            + "/questionLib/update";

    // 错题本部分
    /**
     * 好友错题本获取+friendId
     */
    public String URL_MISTAKE_NOTEBOOK_FRIEND_LIST = URL_PREFIX
            + "/mistakeNotebook/list/";
    /**
     * 好友错题获取
     */
    public String URL_QUESTION_FRIEND_LIST = URL_PREFIX
            + "/mistakeNotebook/question/list/friend";
    /**
     * 个人错题本获取（普通）
     */
    public String URL_MISTAKE_NOTEBOOK_LIST = URL_PREFIX
            + "/mistakeNotebook/list";
    /**
     * 个人错题获取（普通）
     */
    public String URL_QUESTION_LIST = URL_PREFIX
            + "/mistakeNotebook/question/list";
    /**
     * 个人错题获取（普通）
     */
    public String URL_MISTAKE_NOTEBOOK_GET = URL_PREFIX
            + "/mistakeNotebook/get";
    /**
     * 错题删除（普通）
     */
    public String URL_MISTAKE_NOTEBOOK_QUESTION_DELETE = URL_PREFIX
            + "/mistakeNotebook/question/delete";
    /**
     * 错题增加(收藏)（普通）
     */
    public String URL_MISTAKE_NOTEBOOK_QUESTION_ADD = URL_PREFIX
            + "/mistakeNotebook/question/add";
    /**
     * 错题标签修改（普通）
     */
    public String URL_MISTAKE_NOTEBOOK_QUESTION_UPDATE = URL_PREFIX
            + "/mistakeNotebook/question/update";
    /**
     * 错题本删除
     */
    public String URL_MISTAKE_NOTEBOOK_DELETE = URL_PREFIX
            + "/mistakeNotebook/delete";
    /**
     * 错题本增加
     */
    public String URL_MISTAKE_NOTEBOOK_NEW = URL_PREFIX
            + "/mistakeNotebook/new";
    /**
     * 错题本标签增加
     */
    public String URL_MISTAKE_NOTEBOOK_TAB_NEW = URL_PREFIX
            + "/mistakeNotebook/tab/new";
    /**
     * 错题本标签修改
     */
    public String URL_MISTAKE_NOTEBOOK_TAB_UPDATE = URL_PREFIX
            + "/mistakeNotebook/tab/update";
    /**
     * 错题本标签删除
     */
    public String URL_MISTAKE_NOTEBOOK_TAB_DELETE = URL_PREFIX
            + "/mistakeNotebook/tab/delete";
    /**
     * 修改错题本信息
     */
    public String URL_MISTAKE_NOTEBOOK_UPDATE = URL_PREFIX
            + "/mistakeNotebook/update";

    /**
     * 考试题目获取
     */
    public String URL_GET_QUESTION = URL_PREFIX
            + "/examination/question/get";

    /**
     * 图片处理
     */
    public String URL_IMAGE_GET = URL_PREFIX + "/image/get/file/";
    /**
     * 图片更新
     */
    public String URL_IMAGE_UPDATE = URL_PREFIX + "/image/upload";

    /**
     * 序列号列表获取
     */
    public String URL_SERIES_NO_GET = URL_PREFIX + "/seriesNo/get";
    /**
     * 序列号列表更新
     */
    public String URL_SERIES_NO_UPDATE = URL_PREFIX
            + "/seriesNo/update";
    /**
     * 序列号列表绑定
     */
    public String URL_SERIES_NO_BIND = URL_PREFIX
            + "/answerReaders/bind";
    /**
     * 使用条款激活
     */
    public String URL_USE_TERMS_ACTIVATE = URL_PREFIX
            + "/answerReaders/bind/terms";
    /**
     * 用户指南
     */
    public String URL_GUIDELINE_LIST = URL_PREFIX
            + "/guideline/list";

    /**
     * 创建考试信息
     */
    public String URL_E_BASICINFO_CREATE = URL_PREFIX
            + "/examination/basicinfo/create";
    /**
     * 修改基础信息 （新增）
     */
    public String URL_E_BASICINFO_UPDATE = URL_PREFIX
            + "/examination/basicinfo/update";
    /**
     * 修改基础信息
     */
    public String URL_E_BASICINFO_UPLOAD = URL_PREFIX
            + "/examination/basicinfo/upload";
    /**
     * 获取基础信息
     */
    public String URL_E_BASICINFO_GET = URL_PREFIX
            + "/examination/basicinfo/get/";
    /**
     * 上传题型设置
     */
    public String URL_E_TOPICS_UPLOAD = URL_PREFIX
            + "/examination/topics/upload";
    /**
     * 获取题型设置
     */
    public String URL_E_TOPICS_GET = URL_PREFIX
            + "/examination/topics/get/";
    /**
     * 上传标准答案
     */
    public String URL_E_STANDARDANSWERS_UPLOAD = URL_PREFIX
            + "/examination/standardanswers/upload";
    /**
     * 获取标准答案
     */
    public String URL_E_STANDARDANSWERS_GET = URL_PREFIX
            + "/examination/standardanswers/get/";
    /**
     * 获取用户共享老师记录列表
     */
    public String URL_E_TEACHER_SHARE_GET = URL_PREFIX
            + "/examination/share/teacher/record/list";
    /**
     * 获取最后一次考试的基础信息
     */
    public String URL_E_TEACHER_GET_LAST_EXAMIANTION = URL_PREFIX
            + "/examination/basicinfo/last/get";
    /**
     * 删除用户共享老师记录
     */
    public String URL_E_TEACHER_SHARE_DELETE = URL_PREFIX
            + "/examination/share/teacher/record/delete";
    /**
     * 上传学生答案
     */
    public String URL_E_STUDENTANSWERS_UPLOAD = URL_PREFIX
            + "/examination/studentanswers/upload";
    /**
     * 获取学生答案
     */
    public String URL_E_STUDENTANSWERS_GET = URL_PREFIX
            + "/examination/studentanswers/get/";
    /**
     * 阅卷部分数据获取合并（题型、标准答案、考生答案）
     */
    public String URL_E_AGGREGATE_GET = URL_PREFIX
            + "/examination/aggregate/get";
    /**
     * 主观题录入方式切换
     */
    public String URL_E_SUBJECT_SWITCH = URL_PREFIX
            + "/examination/subject/flag/change";
    /**
     * 统计学生成绩
     */
    public String URL_STATISTIC_JOB = URL_PREFIX
            + "/examination/statistic/executeStatisticJob";
    /**
     * 校对数据-扫描错误列表
     */
    public String URL_PROOFEADING_LIST = URL_PREFIX + "/oss/{examId}/errorInfo";
    /**
     * 校对数据-学生答案回显修正
     */
    public String URL_PROOFREAD_STUDENT_CORRECT = URL_PREFIX + "/oss/{examId}/{studentNo}/answer";
    /**
     * 获取新题型数据
     */
    public String URL_NEW_TOPIC_SETTIN = URL_PREFIX + "/examination/aggregate/get";
}